feat: add Gonka Broker provider costs - #5803
Open
iamoeco wants to merge 1 commit into
Open
Conversation
|
@iamoeco is attempting to deploy a commit to the Helicone Team on Vercel. A member of the Team first needs to authorize it. |
Contributor
There was a problem hiding this comment.
Your trial has ended. Reactivate Greptile to resume code reviews.
|
The latest updates on your projects. Learn more about Vercel for GitHub. 1 Skipped Deployment
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ticket
No linked ticket — external provider cost contribution.
Component/Service
Type of Change
Deployment Notes
Screenshots / Demos
Not applicable — data-only change (provider cost registry).
Extra Notes
Gonka Broker is an OpenAI-compatible API for open-source models
served on the decentralized Gonka GPU network. Base URL:
https://proxy.gonkabroker.com/v1.This PR mirrors the existing Novita-style provider entries:
packages/cost/providers/gonkabroker/index.ts— costs for the served chat modelspackages/cost/providers/mappings.ts— URL pattern,GONKABROKERprovider name, registrationPrices match the public pricing page (https://gonkabroker.com/gonka-api-pricing/) and the unauthenticated live model list at
https://proxy.gonkabroker.com/v1/models(per-model pricing included), which can be used to verify or refresh these numbers at any time.Verified per CONTRIBUTING guidance:
npx jest __tests__/in/packages: 41 suites / 578 tests passnpx tsc --noEmitin/packages: output byte-identical tomain(3 pre-existing test-file errors, none in this change)https://proxy.gonkabroker.com/v1/chat/completions; 1M+1M tokens onmoonshotai/Kimi-K2.6= $0.70)Context
Developers routing Gonka Broker traffic through Helicone currently get no cost tracking because
the provider is not in the registry. This adds the provider so requests to
proxy.gonkabroker.comare recognized and priced.